using System;

namespace Tail
{
	/// <summary>
	/// Summary description for Verifier.
	/// </summary>
	public abstract class Verifier
	{
		Verifier nextVerifier;
		public String key = "";
		public Verifier(String key)
		{
			this.key = key;
		}
		public abstract bool verify(String val,System.Collections.Hashtable hash);

		public Verifier setNextVerifier(Verifier verifier){
			nextVerifier = verifier;
			return verifier;
		}

		public Verifier getNextVerifier(){
			return nextVerifier;
		}
	}
}
